<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- QtnRibbonGallery.qdoc -->
  <title>Qt QtitanRibbon 3.1: RibbonGallery Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <script src="./scripts/superfish.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />  <script src="./scripts/narrow.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->
</head>
<body class="" onload="CheckEmptyAndLoadList();">
 <div class="header" id="qtdocheader">
    <div class="content"> 
    <div id="nav-logo">
      <a href="index.html">Home</a></div>
		<div id="narrowsearch"><form onsubmit="return false;" action="" id="qtdocsearch">
		<fieldset>
		<input type="text" value="" id="pageType2" name="searchstring"/>
		 </fieldset>
		</form></div>
    <div id="nav-topright">
      <ul>
      </ul>
    </div>
    <div id="shortCut">
      <ul>
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Home</a></span></li>
        <li class="shortCut-topleft-inactive"><span><a href="classes.html">All&nbsp;Classes</a></span></li>
        <li class="shortCut-topleft-inactive"><span><a href="overviews.html">Overviews</a></span></li>
      </ul>
</div> <ul class="sf-menu sf-js-enabled sf-shadow" id="narrowmenu"> 
		 <li><a href="#">API Lookup</a> 
			 <ul id="topmenuLook"> 
			   <li><a href="qtitan.html">Qtitan Namespace</a></li> 
			   <li><a href="classes.html">Class index</a></li> 
 			  <li><a href="qtitan.html#functions">Function index</a></li> 
			   </ul> 
		 </li> 
 </ul> 
    </div>
  </div>
  <div class="wrapper">
    <div class="hd">
      <span></span>
    </div>
    <div class="bd group">
      <div class="sidebar">
        <div class="searchlabel">
          Search index:</div>
        <div class="search">
          <form id="qtdocsearch" action="" onsubmit="return false;">
            <fieldset>
              <input type="text" name="searchstring" id="pageType" value="" />
            </fieldset>
          </form>
        </div>
        <div class="box first bottombar" id="lookup">
          <h2 title="API Lookup"><span></span>
            API Lookup</h2>
          <div  id="list001" class="list">
          <ul id="ul001" >
              <li class="defaultLink"><a href="qtitan.html">Qtitan Namespace</a></li>
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
              <li class="defaultLink"><a href="qtitan.html#functions">Function index</a></li>
            </ul> 
          </div>
        </div>
      </div>
      <div class="wrap">
        <div class="toolbar">
          <div class="breadcrumb toolblock">
            <ul>
              <li class="first"><a href="index.html">Home</a></li>
              <!--  Bread crumbs goes here -->
              <li><a href="modules.html">Modules</a></li>              <li>QtitanRibbon</li>
              <li>RibbonGallery</li>
            </ul>
          </div>
          <div class="toolbuttons toolblock">
            <ul>
              <li id="smallA" class="t_button">A</li>
              <li id="medA" class="t_button active">A</li>
              <li id="bigA" class="t_button">A</li>
              <li id="print" class="t_button"><a href="javascript:this.print();">
                <span>Print</span></a></li>
            </ul>
          </div>
        </div>
        <div class="content">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">RibbonGallery Class Reference</h1>
<span class="small-subtitle">(Qtitan::RibbonGallery)<br/></span>
<!-- $$$RibbonGallery-brief -->
<p>RibbonGallery class represents the gallery control. <a href="#details">More...</a></p>
<!-- @@@RibbonGallery -->
<p>Inherits <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a>.</p>
<ul>
<li><a href="qtitan-ribbongallery-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><a href="qtitan-ribbongallery.html#isBorderVisible-prop">isBorderVisible</a></b> : bool</li>
<li class="fn"><b><a href="qtitan-ribbongallery.html#isResizable-prop">isResizable</a></b> : const bool</li>
<li class="fn"><b><a href="qtitan-ribbongallery.html#scrollBarPolicy-prop">scrollBarPolicy</a></b> : Qt::ScrollBarPolicy</li>
</ul>
<ul>
<li class="fn">58 properties inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#properties">QWidget</a></li>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#RibbonGallery">RibbonGallery</a></b> ( QWidget * <i>parent</i> = Q_NULL )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#dtor.RibbonGallery">~RibbonGallery</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#checkedIndex">checkedIndex</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RibbonGalleryItem * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#checkedItem">checkedItem</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#ensureVisible">ensureVisible</a></b> ( int <i>index</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RibbonGalleryGroup * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#galleryGroup">galleryGroup</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QRect </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#getBorders">getBorders</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRect </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#getDrawItemRect">getDrawItemRect</a></b> ( int <i>index</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RibbonGalleryItem * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#getItem">getItem</a></b> ( int <i>index</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#getItemCount">getItemCount</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QRect </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#getItemsRect">getItemsRect</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#getSelectedItem">getSelectedItem</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#hideSelection">hideSelection</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#hitTestItem">hitTestItem</a></b> ( QPoint <i>point</i>, QRect * <i>rect</i> = Q_NULL ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#isBorderVisible-prop">isBorderVisible</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#isItemSelected">isItemSelected</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#isLabelsVisible">isLabelsVisible</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#isResizable-prop">isResizable</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#isShowAsButton">isShowAsButton</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> OfficePopupMenu * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#popupMenu">popupMenu</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt::ScrollBarPolicy </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#scrollBarPolicy-prop">scrollBarPolicy</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#selectedItemChanged">selectedItemChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#isBorderVisible-prop">setBorderVisible</a></b> ( bool <i>visible</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#setCheckedIndex">setCheckedIndex</a></b> ( int <i>index</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#setCheckedItem">setCheckedItem</a></b> ( const RibbonGalleryItem * <i>item</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#setGalleryGroup">setGalleryGroup</a></b> ( RibbonGalleryGroup * <i>items</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#setLabelsVisible">setLabelsVisible</a></b> ( bool <i>showLabels</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#setPopupMenu">setPopupMenu</a></b> ( OfficePopupMenu * <i>popupMenu</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#scrollBarPolicy-prop">setScrollBarPolicy</a></b> ( Qt::ScrollBarPolicy <i>policy</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#setSelectedItem">setSelectedItem</a></b> ( int <i>selected</i> )</td></tr>
</table>
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QSize </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#minimumSizeHint">minimumSizeHint</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QSize </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#sizeHint">sizeHint</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">217 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-functions">QWidget</a></li>
<li class="fn">13 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#public-functions">QPaintDevice</a></li>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#currentItemChanged">currentItemChanged</a></b> ( RibbonGalleryItem * <i>current</i>, RibbonGalleryItem * <i>previous</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#itemClicked">itemClicked</a></b> ( RibbonGalleryItem * <i>item</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#itemClicking">itemClicking</a></b> ( RibbonGalleryItem * <i>item</i>, bool &amp; <i>handled</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#itemPressed">itemPressed</a></b> ( RibbonGalleryItem * <i>item</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#itemSelectionChanged">itemSelectionChanged</a></b> ()</td></tr>
</table>
<ul>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#signals">QWidget</a></li>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
</ul>
<a name="reimplemented-protected-functions"></a>
<h2>Reimplemented Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#focusOutEvent">focusOutEvent</a></b> ( QFocusEvent * <i>event</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#leaveEvent">leaveEvent</a></b> ( QEvent * <i>event</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#mouseMoveEvent">mouseMoveEvent</a></b> ( QMouseEvent * <i>event</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#mousePressEvent">mousePressEvent</a></b> ( QMouseEvent * <i>event</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#mouseReleaseEvent">mouseReleaseEvent</a></b> ( QMouseEvent * <i>event</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#paintEvent">paintEvent</a></b> ( QPaintEvent * )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallery.html#resizeEvent">resizeEvent</a></b> ( QResizeEvent * <i>event</i> )</td></tr>
</table>
<ul>
<li class="fn">37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">1 protected function inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">19 public slots inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-slots">QWidget</a></li>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#static-public-members">QWidget</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li class="fn">37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">1 protected function inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected slot inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-slots">QWidget</a></li>
<li class="fn">1 protected type inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$RibbonGallery-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>RibbonGallery class represents the gallery control.</p>
</div>
<!-- @@@RibbonGallery -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$isBorderVisible-prop$$$isBorderVisible$$$setBorderVisiblebool -->
<h3 class="fn"><a name="isBorderVisible-prop"></a>isBorderVisible : bool</h3>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b>isBorderVisible</b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b>setBorderVisible</b> ( bool <i>visible</i> )</td></tr>
</table>
<!-- @@@isBorderVisible -->
<!-- $$$isResizable-prop$$$isResizable -->
<h3 class="fn"><a name="isResizable-prop"></a>isResizable : const bool</h3>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><b>isResizable</b> () const</td></tr>
</table>
<!-- @@@isResizable -->
<!-- $$$scrollBarPolicy-prop$$$scrollBarPolicy$$$setScrollBarPolicyQt::ScrollBarPolicy -->
<h3 class="fn"><a name="scrollBarPolicy-prop"></a>scrollBarPolicy : <a href="http://qt.nokia.com/doc/4.7/qt.html#ScrollBarPolicy-enum">Qt::ScrollBarPolicy</a></h3>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Qt::ScrollBarPolicy </td><td class="memItemRight bottomAlign"><b>scrollBarPolicy</b> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><b>setScrollBarPolicy</b> ( Qt::ScrollBarPolicy <i>policy</i> )</td></tr>
</table>
<!-- @@@scrollBarPolicy -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$RibbonGallery[overload1]$$$RibbonGalleryQWidget* -->
<h3 class="fn"><a name="RibbonGallery"></a>RibbonGallery::RibbonGallery ( <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>parent</i> = Q_NULL )</h3>
<p>Constructs <a href="qtitan-ribbongallery.html">RibbonGallery</a> object with the given parent.</p>
<!-- @@@RibbonGallery -->
<!-- $$$~RibbonGallery[overload1]$$$~RibbonGallery -->
<h3 class="fn"><a name="dtor.RibbonGallery"></a>RibbonGallery::~RibbonGallery ()<tt> [virtual]</tt></h3>
<p>Destructor of the <a href="qtitan-ribbongallery.html">RibbonGallery</a> object.</p>
<!-- @@@~RibbonGallery -->
<!-- $$$checkedIndex[overload1]$$$checkedIndex -->
<h3 class="fn"><a name="checkedIndex"></a>int RibbonGallery::checkedIndex () const</h3>
<p>Returns chcked item index in the gallery.</p>
<p>See also <a href="qtitan-ribbongallery.html#setCheckedIndex">setCheckedIndex</a>().</p>
<!-- @@@checkedIndex -->
<!-- $$$checkedItem[overload1]$$$checkedItem -->
<h3 class="fn"><a name="checkedItem"></a><a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * RibbonGallery::checkedItem () const</h3>
<p>Returs the reference to the <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> object of the chcked item in the gallery. See int getCheckedIndex();</p>
<p>See also <a href="qtitan-ribbongallery.html#setCheckedItem">setCheckedItem</a>().</p>
<!-- @@@checkedItem -->
<!-- $$$currentItemChanged[overload1]$$$currentItemChangedRibbonGalleryItem*RibbonGalleryItem* -->
<h3 class="fn"><a name="currentItemChanged"></a>void RibbonGallery::currentItemChanged ( <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * <i>current</i>, <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * <i>previous</i> )<tt> [signal]</tt></h3>
<p>Signal throws when the current item was changed. previous - reference to the previous selected item. current the reference to the current selected item.</p>
<!-- @@@currentItemChanged -->
<!-- $$$ensureVisible[overload1]$$$ensureVisibleint -->
<h3 class="fn"><a name="ensureVisible"></a>void RibbonGallery::ensureVisible ( int <i>index</i> )</h3>
<!-- @@@ensureVisible -->
<!-- $$$focusOutEvent[overload1]$$$focusOutEventQFocusEvent* -->
<h3 class="fn"><a name="focusOutEvent"></a>void RibbonGallery::focusOutEvent ( <a href="http://qt.nokia.com/doc/4.7/qfocusevent.html">QFocusEvent</a> * <i>event</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#focusOutEvent">QWidget::focusOutEvent</a>().</p>
<!-- @@@focusOutEvent -->
<!-- $$$galleryGroup[overload1]$$$galleryGroup -->
<h3 class="fn"><a name="galleryGroup"></a><a href="qtitan-ribbongallerygroup.html">RibbonGalleryGroup</a> * RibbonGallery::galleryGroup () const</h3>
<p>Returns reference to the <a href="qtitan-ribbongallerygroup.html">RibbonGalleryGroup</a> object.</p>
<p>See also <a href="qtitan-ribbongallery.html#setGalleryGroup">setGalleryGroup</a>().</p>
<!-- @@@galleryGroup -->
<!-- $$$getBorders[overload1]$$$getBorders -->
<h3 class="fn"><a name="getBorders"></a><a href="http://qt.nokia.com/doc/4.7/qrect.html">QRect</a> RibbonGallery::getBorders () const<tt> [virtual]</tt></h3>
<p>Returns the bounds of gallery in the rectangle form.</p>
<!-- @@@getBorders -->
<!-- $$$getDrawItemRect[overload1]$$$getDrawItemRectint -->
<h3 class="fn"><a name="getDrawItemRect"></a><a href="http://qt.nokia.com/doc/4.7/qrect.html">QRect</a> RibbonGallery::getDrawItemRect ( int <i>index</i> )</h3>
<p>Returns the bounded rectangle of the item by the given <i>index</i>.</p>
<!-- @@@getDrawItemRect -->
<!-- $$$getItem[overload1]$$$getItemint -->
<h3 class="fn"><a name="getItem"></a><a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * RibbonGallery::getItem ( int <i>index</i> ) const</h3>
<p>Returns reference to the <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> by the given index.</p>
<!-- @@@getItem -->
<!-- $$$getItemCount[overload1]$$$getItemCount -->
<h3 class="fn"><a name="getItemCount"></a>int RibbonGallery::getItemCount () const</h3>
<p>Returns count of the items in the gallery.</p>
<!-- @@@getItemCount -->
<!-- $$$getItemsRect[overload1]$$$getItemsRect -->
<h3 class="fn"><a name="getItemsRect"></a><a href="http://qt.nokia.com/doc/4.7/qrect.html">QRect</a> RibbonGallery::getItemsRect () const</h3>
<p>Returns the united boundary of all elements within the galleries.</p>
<!-- @@@getItemsRect -->
<!-- $$$getSelectedItem[overload1]$$$getSelectedItem -->
<h3 class="fn"><a name="getSelectedItem"></a>int RibbonGallery::getSelectedItem () const</h3>
<p>Returns the index of the selected element in the gallery.</p>
<!-- @@@getSelectedItem -->
<!-- $$$hideSelection[overload1]$$$hideSelection -->
<h3 class="fn"><a name="hideSelection"></a>void RibbonGallery::hideSelection ()</h3>
<p>Hide selection of the gallery's item.</p>
<!-- @@@hideSelection -->
<!-- $$$hitTestItem[overload1]$$$hitTestItemQPointQRect* -->
<h3 class="fn"><a name="hitTestItem"></a>int RibbonGallery::hitTestItem ( <a href="http://qt.nokia.com/doc/4.7/qpoint.html">QPoint</a> <i>point</i>, <a href="http://qt.nokia.com/doc/4.7/qrect.html">QRect</a> * <i>rect</i> = Q_NULL ) const</h3>
<p>Returns the index of the item by given mouse point. If rect is not Q_NULL it will contain the rectangle the gallery's item.</p>
<!-- @@@hitTestItem -->
<!-- $$$isItemSelected[overload1]$$$isItemSelected -->
<h3 class="fn"><a name="isItemSelected"></a>bool RibbonGallery::isItemSelected () const</h3>
<p>Returns whether selected items in the gallery.</p>
<!-- @@@isItemSelected -->
<!-- $$$isLabelsVisible[overload1]$$$isLabelsVisible -->
<h3 class="fn"><a name="isLabelsVisible"></a>bool RibbonGallery::isLabelsVisible () const</h3>
<!-- @@@isLabelsVisible -->
<!-- $$$isShowAsButton[overload1]$$$isShowAsButton -->
<h3 class="fn"><a name="isShowAsButton"></a>bool RibbonGallery::isShowAsButton () const</h3>
<p>Returns if the gallery needs to draw a normal button. Function is reserved.</p>
<!-- @@@isShowAsButton -->
<!-- $$$itemClicked[overload1]$$$itemClickedRibbonGalleryItem* -->
<h3 class="fn"><a name="itemClicked"></a>void RibbonGallery::itemClicked ( <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * <i>item</i> )<tt> [signal]</tt></h3>
<p>Signal throws when you click on the <i>item</i> in the gallery.</p>
<!-- @@@itemClicked -->
<!-- $$$itemClicking[overload1]$$$itemClickingRibbonGalleryItem*bool& -->
<h3 class="fn"><a name="itemClicking"></a>void RibbonGallery::itemClicking ( <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * <i>item</i>, bool &amp; <i>handled</i> )<tt> [signal]</tt></h3>
<p>Signal throws when user is clicking on the item in the gallery. item - the reference to teh clicking element. handled - the flag to prevent of closing the gallery popup. If handled is false then the gallery popup will not be closed.</p>
<!-- @@@itemClicking -->
<!-- $$$itemPressed[overload1]$$$itemPressedRibbonGalleryItem* -->
<h3 class="fn"><a name="itemPressed"></a>void RibbonGallery::itemPressed ( <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * <i>item</i> )<tt> [signal]</tt></h3>
<p>Signal throws when you press mouse button on the <i>item</i> in the gallery.</p>
<!-- @@@itemPressed -->
<!-- $$$itemSelectionChanged[overload1]$$$itemSelectionChanged -->
<h3 class="fn"><a name="itemSelectionChanged"></a>void RibbonGallery::itemSelectionChanged ()<tt> [signal]</tt></h3>
<p>Signal throws when selected was changed.</p>
<!-- @@@itemSelectionChanged -->
<!-- $$$leaveEvent[overload1]$$$leaveEventQEvent* -->
<h3 class="fn"><a name="leaveEvent"></a>void RibbonGallery::leaveEvent ( <a href="http://qt.nokia.com/doc/4.7/qevent.html">QEvent</a> * <i>event</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#leaveEvent">QWidget::leaveEvent</a>().</p>
<!-- @@@leaveEvent -->
<!-- $$$minimumSizeHint[overload1]$$$minimumSizeHint -->
<h3 class="fn"><a name="minimumSizeHint"></a><a href="http://qt.nokia.com/doc/4.7/qsize.html">QSize</a> RibbonGallery::minimumSizeHint () const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#minimumSizeHint-prop">QWidget::minimumSizeHint</a>().</p>
<!-- @@@minimumSizeHint -->
<!-- $$$mouseMoveEvent[overload1]$$$mouseMoveEventQMouseEvent* -->
<h3 class="fn"><a name="mouseMoveEvent"></a>void RibbonGallery::mouseMoveEvent ( <a href="http://qt.nokia.com/doc/4.7/qmouseevent.html">QMouseEvent</a> * <i>event</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#mouseMoveEvent">QWidget::mouseMoveEvent</a>().</p>
<!-- @@@mouseMoveEvent -->
<!-- $$$mousePressEvent[overload1]$$$mousePressEventQMouseEvent* -->
<h3 class="fn"><a name="mousePressEvent"></a>void RibbonGallery::mousePressEvent ( <a href="http://qt.nokia.com/doc/4.7/qmouseevent.html">QMouseEvent</a> * <i>event</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#mousePressEvent">QWidget::mousePressEvent</a>().</p>
<!-- @@@mousePressEvent -->
<!-- $$$mouseReleaseEvent[overload1]$$$mouseReleaseEventQMouseEvent* -->
<h3 class="fn"><a name="mouseReleaseEvent"></a>void RibbonGallery::mouseReleaseEvent ( <a href="http://qt.nokia.com/doc/4.7/qmouseevent.html">QMouseEvent</a> * <i>event</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#mouseReleaseEvent">QWidget::mouseReleaseEvent</a>().</p>
<!-- @@@mouseReleaseEvent -->
<!-- $$$paintEvent[overload1]$$$paintEventQPaintEvent* -->
<h3 class="fn"><a name="paintEvent"></a>void RibbonGallery::paintEvent ( <a href="http://qt.nokia.com/doc/4.7/qpaintevent.html">QPaintEvent</a> * )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#paintEvent">QWidget::paintEvent</a>().</p>
<!-- @@@paintEvent -->
<!-- $$$popupMenu[overload1]$$$popupMenu -->
<h3 class="fn"><a name="popupMenu"></a><a href="qtitan-officepopupmenu.html">OfficePopupMenu</a> * RibbonGallery::popupMenu () const</h3>
<p>Returns gallery's popup menu.</p>
<p>See also <a href="qtitan-ribbongallery.html#setPopupMenu">setPopupMenu</a>().</p>
<!-- @@@popupMenu -->
<!-- $$$resizeEvent[overload1]$$$resizeEventQResizeEvent* -->
<h3 class="fn"><a name="resizeEvent"></a>void RibbonGallery::resizeEvent ( <a href="http://qt.nokia.com/doc/4.7/qresizeevent.html">QResizeEvent</a> * <i>event</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#resizeEvent">QWidget::resizeEvent</a>().</p>
<!-- @@@resizeEvent -->
<!-- $$$selectedItemChanged[overload1]$$$selectedItemChanged -->
<h3 class="fn"><a name="selectedItemChanged"></a>void RibbonGallery::selectedItemChanged ()<tt> [virtual]</tt></h3>
<!-- @@@selectedItemChanged -->
<!-- $$$setCheckedIndex[overload1]$$$setCheckedIndexint -->
<h3 class="fn"><a name="setCheckedIndex"></a>void RibbonGallery::setCheckedIndex ( int <i>index</i> )</h3>
<p>Sets checked item with the given <i>index</i>.</p>
<p>See also <a href="qtitan-ribbongallery.html#checkedIndex">checkedIndex</a>().</p>
<!-- @@@setCheckedIndex -->
<!-- $$$setCheckedItem[overload1]$$$setCheckedItemconstRibbonGalleryItem* -->
<h3 class="fn"><a name="setCheckedItem"></a>void RibbonGallery::setCheckedItem ( const <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * <i>item</i> )</h3>
<p>Sets checked <i>item</i> with the given reference to the <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> object. See setCheckedIndex(int index).</p>
<p>See also <a href="qtitan-ribbongallery.html#checkedItem">checkedItem</a>().</p>
<!-- @@@setCheckedItem -->
<!-- $$$setGalleryGroup[overload1]$$$setGalleryGroupRibbonGalleryGroup* -->
<h3 class="fn"><a name="setGalleryGroup"></a>void RibbonGallery::setGalleryGroup ( <a href="qtitan-ribbongallerygroup.html">RibbonGalleryGroup</a> * <i>items</i> )</h3>
<p>Sets group for the gallery. group - is a pointer to the elements group.</p>
<p>See also <a href="qtitan-ribbongallery.html#galleryGroup">galleryGroup</a>().</p>
<!-- @@@setGalleryGroup -->
<!-- $$$setLabelsVisible[overload1]$$$setLabelsVisiblebool -->
<h3 class="fn"><a name="setLabelsVisible"></a>void RibbonGallery::setLabelsVisible ( bool <i>showLabels</i> )</h3>
<p>See also <a href="qtitan-ribbongallery.html#isLabelsVisible">isLabelsVisible</a>().</p>
<!-- @@@setLabelsVisible -->
<!-- $$$setPopupMenu[overload1]$$$setPopupMenuOfficePopupMenu* -->
<h3 class="fn"><a name="setPopupMenu"></a>void RibbonGallery::setPopupMenu ( <a href="qtitan-officepopupmenu.html">OfficePopupMenu</a> * <i>popupMenu</i> )</h3>
<p>Sets <i>popup</i> menu for the gallery.</p>
<p>See also <a href="qtitan-ribbongallery.html#popupMenu">popupMenu</a>().</p>
<!-- @@@setPopupMenu -->
<!-- $$$setSelectedItem[overload1]$$$setSelectedItemint -->
<h3 class="fn"><a name="setSelectedItem"></a>void RibbonGallery::setSelectedItem ( int <i>selected</i> )</h3>
<p>Sets the selected element in the gallery. selected is the index of the selected element.</p>
<!-- @@@setSelectedItem -->
<!-- $$$sizeHint[overload1]$$$sizeHint -->
<h3 class="fn"><a name="sizeHint"></a><a href="http://qt.nokia.com/doc/4.7/qsize.html">QSize</a> RibbonGallery::sizeHint () const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#sizeHint-prop">QWidget::sizeHint</a>().</p>
<!-- @@@sizeHint -->
</div>
        <!-- /div -->
        <div class="feedback t_button">
          </div>
      </div>
    </div>
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2009-2013 Developer Machines<br><br>      Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
      in Finland and/or other countries worldwide.</p>
    <p>
      All other trademarks are property of their respective owners. <a title="Privacy Policy"
        href="http://www.devmachines.com/company/privacy-policy.html">Privacy Policy</a></p>
  </div>
  <div id="blurpage">
  </div>
  <!--/div -->
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17002018-1']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17002018-1']);
  _gaq.push(['_trackPageview']);
  (function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  </script>
</body>
</html>
